Skip to content

Add a test to track @experimental definitions #14944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Apr 14, 2022

Label all definitions and add comments on when they can be stabilized.

The purpose of this test is to make sure an experimental definition does not become stable accidentally. It is also a good place to check the list of methods that need to become stable in the next release.

@nicolasstucki nicolasstucki force-pushed the add-experimental-checks branch 2 times, most recently from 9eede77 to 46080e4 Compare April 19, 2022 11:16
Label all definition and add coments on when they can be stabilized
@nicolasstucki nicolasstucki force-pushed the add-experimental-checks branch from 46080e4 to 3f642da Compare April 19, 2022 14:19
@nicolasstucki nicolasstucki requested review from anatoliykmetyuk and smarter and removed request for anatoliykmetyuk April 19, 2022 14:57
Comment on lines +74 to +78
// Cant be stabilized yet.
// Need newClass variant that can add constructor parameters.
// Need experimental annotation macros to check that design works.
"scala.quoted.Quotes.reflectModule.ClassDefModule.apply",
"scala.quoted.Quotes.reflectModule.SymbolModule.newClass",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this will need to be discussed, but if we want Scala 3.2 to be an LTS, we'll want to have these APIs stabilized by then. I don't think they preclude future additions that will benefit annotation macros.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these comments are subject to change in the LTS discussions. I just added the constraints/concerns we had discussed so far so that I am not the only one that knows them.

@nicolasstucki nicolasstucki merged commit 3d4af20 into scala:main Apr 19, 2022
@nicolasstucki nicolasstucki deleted the add-experimental-checks branch April 19, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants